//
//  UIColor+Extension.swift
//  HrenryWeibo
//
//  Created by 熊涛 on 16/5/18.
//  Copyright © 2016年 熊涛. All rights reserved.
//

import UIKit


extension UIColor {



    class func random() -> UIColor{
    
        let r = CGFloat(arc4random_uniform(256)) / 255.0
        let g = CGFloat(arc4random_uniform(256)) / 255.0
        let b = CGFloat(arc4random_uniform(256)) / 255.0
        let color = UIColor(red: r, green: g, blue: b, alpha: 1)
    
        return color
    }
    
    


}